package com.ywps.vaas.demoTask.app

import com.ywps.vaas.demoTask.controller.WriteJdbcController
import com.ywps.vaas.framework.app.TApplication

/**
 * demo示例启动类
 */
object WriteJdbcApp extends TApplication {
  def main(args: Array[String]): Unit = {
    /**
     * 启动: 传入环境变量的参数、调度代码
     */
    start("yarn", this.getClass.getSimpleName) {
      val controller = new WriteJdbcController
      controller.execute()
    }
  }

}
